<include file="Public:top"/>
<div id="main-content" class="clearfix">

    <div id="breadcrumbs">
        <ul class="breadcrumb">
            <li><i class="icon-home"></i> <a href="{:U('Public/main')}">首页</a><span class="divider"><i
                    class="icon-angle-right"></i></span></li>
            <span class="divider"><i class="icon-angle-right"></i></span></li>
            <li class="active">网站设置</li>
        </ul>
        <!--.breadcrumb-->
    </div>
    <!--#breadcrumbs-->


    <div id="page-content" class="clearfix">

        <div class="page-header position-relative">
            <h1>网站设置
                <small>
            </h1>
        </div>
        <!--/page-header-->


        <h3 class="header smaller lighter blue">基本设置</h3>

        <div class="row-fluid">
            <!-- PAGE CONTENT BEGINS HERE -->

            <form class="form-horizontal" action="__SELF__" method="post">

                <div class="control-group">
                    <label class="control-label" for="form-field-1">网站名称</label>

                    <div class="controls">
                        <input type="text" id="form-field-1" name="webname" value="{$webname}" placeholder="请输入15个字以内">
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label" for="form-field-1">收信邮箱</label>

                    <div class="controls">
                        <input type="text" id="form-field-1" name="system_email" value="{$system_email}" placeholder="通知收信人">
                    </div>
                </div>

                <h3 class="header smaller lighter blue">发信邮箱设置</h3>

                <div class="control-group">
                    <label class="control-label" for="form-field-1">发信邮箱服务器</label>

                    <div class="controls">
                        <input type="text" id="form-field-1" name="email_server" value="{$email_server}" placeholder="smtp.qq.com">
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label" for="form-field-1">帐号设置</label>

                    <div class="controls">
                        <input type="text" id="form-field-1" name="email_account" value="{$email_account}" placeholder="发信帐号">
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label" for="form-field-1">帐号密码</label>

                    <div class="controls">
                        <input type="text" id="form-field-1" name="email_passwd" value="{$email_passwd}" placeholder="">
                    </div>
                </div>


                <div class="control-group">
                    <label class="control-label" for="form-field-1">服务器端口</label>

                    <div class="controls">
                        <input type="text" id="form-field-1" name="email_port" value="{$email_port}" placeholder="110">
                    </div>
                </div>


                <!--<div class="control-group">-->
                    <!--<label class="control-label" for="form-field-2">商品所属分类</label>-->

                    <!--<div class="controls" id="form-field-2">-->
                        <!--<select name="cate_id">-->
                            <!--<foreach item="list" name="cate_list">-->
                                <!--<option value="{$list.id}"-->
                                <!--<eq name="$list.id" value="$one['cate_id']">selected</eq>-->
                                <!-->{$list.name}</option>-->
                            <!--</foreach>-->
                        <!--</select>-->

                    <!--</div>-->
                <!--</div>-->

                <h3 class="header smaller lighter blue">积分相关 <small></small></h3>

                <div class="control-group">
                    <label class="control-label" for="form-field-4">积分倍率</label>

                    <div class="controls">
                        <input class="input-mini" type="text" name="credits_ratio" value="{$credits_ratio}" id="form-field-4"
                               placeholder="">(整数)

                    </div>
                </div>


                <div class="control-group">
                    <label class="control-label" for="form-field-4">积分兑换率</label>

                    <div class="controls">
                        <input class="input-mini" type="text" name="credits_exchange" value="{$credits_exchange}" id="form-field-4"
                               placeholder="">(填1则代表1积分兑1人民币，请填整数)

                    </div>
                </div>


                <div class="control-group">
                    <label class="control-label" for="form-field-5">积分兑换起跑线</label>

                    <div class="controls">
                        <input class="input-mini" type="text" value="{$credits_start_line}" name="credits_start_line">
（整数）
                    </div>
                </div>

                <div class="form-actions">
                    <button class="btn btn-info" type="submit"><i class="icon-ok"></i> 提交</button>
                    &nbsp; &nbsp; &nbsp;
                    <button class="btn" type="reset"><i class="icon-undo"></i> 重置</button>
                </div>


        </div>
        <!--/.fluid-container#main-container-->
        <include file="Public:bottom"/>